﻿using System;

namespace Patterns.Creational.AbstractFactory
{
    class ConcreteProductB2 : IAbstractProductB
    {
        /// <summary>
        /// Prints product name.
        /// </summary>
        /// <returns>
        /// Product name as string.
        /// </returns>
        public void PrintName()
        {
            Console.WriteLine(ToString());
        }
    }
}
